<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<title>UCARPP: includes/edgeGraph.h Source File</title>

<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
</script>


</head>
<body>
<div id="top"><!-- do not remove this div! -->


<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  
  
  <td style="padding-left: 0.5em;">
   <div id="projectname">UCARPP
   &#160;<span id="projectnumber">1</span>
   </div>
   
  </td>
  
  
  
 </tr>
 </tbody>
</table>
</div>

<!-- Generated by Doxygen 1.7.6.1 -->
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="annotated.html"><span>Data&#160;Structures</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>File&#160;List</span></a></li>
      <li><a href="globals.html"><span>Globals</span></a></li>
    </ul>
  </div>
</div>
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
  initNavTree('edgeGraph_8h.html','');
</script>
<div id="doc-content">
<div class="header">
  <div class="headertitle">
<div class="title">includes/edgeGraph.h</div>  </div>
</div><!--header-->
<div class="contents">
<a href="edgeGraph_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 
<a name="l00012"></a>00012 <span class="preprocessor">#ifndef EDGEGRAPH_H_</span>
<a name="l00013"></a>00013 <span class="preprocessor"></span><span class="preprocessor">#define EDGEGRAPH_H_</span>
<a name="l00014"></a>00014 <span class="preprocessor"></span>
<a name="l00015"></a>00015 <span class="preprocessor">#include &lt;limits.h&gt;</span>
<a name="l00016"></a>00016 <span class="preprocessor">#include &lt;stdbool.h&gt;</span>
<a name="l00017"></a>00017 <span class="preprocessor">#include &lt;stdio.h&gt;</span>
<a name="l00018"></a>00018 
<a name="l00020"></a><a class="code" href="edgeGraph_8h.html#aa84a29002ab81c719c0d07bb446296e0">00020</a> <span class="preprocessor">#define INFINITE (INT_MAX/6)*5</span>
<a name="l00021"></a>00021 <span class="preprocessor"></span>
<a name="l00025"></a><a class="code" href="structEdgeGraph.html">00025</a> <span class="keyword">typedef</span> <span class="keyword">struct </span><a class="code" href="structEdgeGraph.html">EdgeGraph</a> {
<a name="l00027"></a><a class="code" href="structEdgeGraph.html#a92013797369cc5d37b25f170d8554227">00027</a>         <span class="keywordtype">int</span> <a class="code" href="structEdgeGraph.html#a92013797369cc5d37b25f170d8554227">t</a>;
<a name="l00029"></a><a class="code" href="structEdgeGraph.html#a8389b7495e3357c46a263af860da6a24">00029</a>         <span class="keywordtype">int</span> <a class="code" href="structEdgeGraph.html#a8389b7495e3357c46a263af860da6a24">d</a>;
<a name="l00031"></a><a class="code" href="structEdgeGraph.html#a5764419600a61559b8b5bbb8540def30">00031</a>         <span class="keywordtype">float</span> <a class="code" href="structEdgeGraph.html#a5764419600a61559b8b5bbb8540def30">p</a>;
<a name="l00032"></a>00032 } <a class="code" href="edgeGraph_8h.html#a66629b76830592b4318cfd331efc6155">EdgeGraph</a>;
<a name="l00033"></a>00033 
<a name="l00035"></a><a class="code" href="edgeGraph_8h.html#ae9263bc51f20141d45a0d487fbbb9985">00035</a> <span class="keyword">typedef</span> <a class="code" href="structEdgeGraph.html">EdgeGraph</a>* <a class="code" href="edgeGraph_8h.html#ae9263bc51f20141d45a0d487fbbb9985">PedgeGraph</a>;
<a name="l00037"></a><a class="code" href="edgeGraph_8h.html#a99eb4bbd90d5189d67a730c9727e409f">00037</a> <span class="keyword">typedef</span> <a class="code" href="structEdgeGraph.html">EdgeGraph</a>** <a class="code" href="edgeGraph_8h.html#a99eb4bbd90d5189d67a730c9727e409f">AdjMat</a>;
<a name="l00038"></a>00038 
<a name="l00039"></a>00039 
<a name="l00046"></a>00046 <a class="code" href="structEdgeGraph.html">PedgeGraph</a> <a class="code" href="edgeGraph_8h.html#a95f9c6ff1c562ec74f0ef9569de41098">initEdgeGraph</a>(<span class="keywordtype">int</span> t, <span class="keywordtype">int</span> d, <span class="keywordtype">float</span> p);
<a name="l00047"></a>00047 
<a name="l00055"></a>00055 <span class="keywordtype">void</span> <a class="code" href="edgeGraph_8h.html#abab1d44285f17a71106a31880ca942c3">freeEdgeGraph</a>(<a class="code" href="structEdgeGraph.html">PedgeGraph</a> edge);
<a name="l00056"></a>00056 
<a name="l00062"></a>00062 <span class="keywordtype">bool</span> <a class="code" href="edgeGraph_8h.html#ae7b6e7996ecfcbaea8d7eed1f2fc6829">isEdgeGraphExist</a>(<a class="code" href="structEdgeGraph.html">PedgeGraph</a> edge);
<a name="l00063"></a>00063 
<a name="l00067"></a>00067 <span class="keywordtype">bool</span> <a class="code" href="edgeGraph_8h.html#a05a341a271de5803841b09e7f344f982">isEdgeGraphProfitable</a>(<a class="code" href="structEdgeGraph.html">PedgeGraph</a> p_edgeGraph);
<a name="l00068"></a>00068 
<a name="l00070"></a>00070 <span class="keywordtype">void</span> <a class="code" href="edgeGraph_8h.html#a7d0911d6fbb76874038f0d59022f1eef">printEdgeGraph</a>(FILE* f, <a class="code" href="structEdgeGraph.html">PedgeGraph</a> p_edge);
<a name="l00071"></a>00071 
<a name="l00072"></a>00072 <span class="preprocessor">#endif </span><span class="comment">/* EDGEGRAPH_H_ */</span>
</pre></div></div><!-- contents -->
</div>
  <div id="nav-path" class="navpath">
    <ul>
      <li class="navelem"><a class="el" href="edgeGraph_8h.html">edgeGraph.h</a>      </li>

    <li class="footer">Generated on Thu Jun 27 2013 11:34:36 for UCARPP by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.6.1 </li>
   </ul>
 </div>


</body>
</html>
